$OpenBSD: patch-i3-nagbar_i3-nagbar_mk,v 1.1 2012/09/21 17:16:14 dcoppa Exp $
--- i3-nagbar/i3-nagbar.mk.orig	Fri Sep 21 11:45:36 2012
+++ i3-nagbar/i3-nagbar.mk	Fri Sep 21 11:45:51 2012
@@ -21,7 +21,7 @@ i3-nagbar/i3-nagbar: libi3.a $(i3_nagbar_OBJECTS)
 install-i3-nagbar: i3-nagbar/i3-nagbar
 	echo "[i3-nagbar] Install"
 	$(INSTALL) -d -m 0755 $(DESTDIR)$(PREFIX)/bin
-	$(INSTALL) -m 0755 i3-nagbar/i3-nagbar $(DESTDIR)$(PREFIX)/bin/
+	${INSTALL_PROGRAM} i3-nagbar/i3-nagbar $(DESTDIR)$(PREFIX)/bin/
 
 clean-i3-nagbar:
 	echo "[i3-nagbar] Clean"
